package com.whacos.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.whacos.common.entity.BaseEntity;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author xiongdun
 * @description 系统日志
 * @since 2018/11/17 17:11
 */
@TableName(value = "t_sys_menu")
@Data
@ToString
public class SysMenu extends BaseEntity {

    private static final long serialVersionUID = -5446899259651373122L;

    // 父菜单ID，一级菜单为0
    private Long parentId;
    // 菜单名称
    private String menuName;
    // 菜单URL
    private String menuUrl;
    // 授权(多个用逗号分隔，如：user:list,user:create)
    private String permissions;
    // 类型 0：目录 1：菜单 2：按钮
    private Integer menuType;
    // 菜单图标
    private String icon;
    // 排序
    private Integer orderNum;

}
